package com.gxsyh.nantie.phone.regist.management.provider.service.impl;

import com.gxsyh.nantie.phone.regist.management.provider.domain.TbDepartment;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.gxsyh.nantie.phone.regist.management.provider.mapper.TbDepartmentMapper;
import com.gxsyh.nantie.phone.regist.management.provider.service.TbDepartmentService;

import java.util.List;

/**
 *@Author hua96
 *@Date   2020-02-24
 *@Time   12:20
 *@Version 1.0.0
 */
@Service
public class TbDepartmentServiceImpl implements TbDepartmentService{

    @Resource
    private TbDepartmentMapper tbDepartmentMapper;

    @Override
    public List<TbDepartment> selectSubsetDepartment(Long parentId) {
        return tbDepartmentMapper.selectSubsetDepartment(parentId);
    }
}
